<tr><td colspan="2" class="servHd">Reminder</td></tr>
<?php
foreach ($arr AS $key => $value) {
    echo '
        <tr>
            <td>' . date('m/d/Y', strtotime($key)) . '</td>
            <td class="servBodL">';
    foreach($value as $reminder) {
        $actions = $this->Html->link($reminder['summary'], array(
                    'controller' => 'reminders',
                    'action' => 'view',
                    $reminder['id'],
                ), array('rel' => 'reminder'));
        echo $actions . '<br />';
    }
    echo '
            </td>
        </tr>';
}
$datePicker = "
    $(function() {
        var childWin;
        $('a[rel=\"reminder\"]').click( function() {
            childWin = window.open($(this).attr('href'), 'child', 'modal,width=440,height=440,scrollbars=yes');
            return false;
        });
    });";
$this->Html->scriptBlock($datePicker, array('inline' => false));
?>
